package cn.paraview.wechat;

import com.netflix.loadbalancer.IRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"cn.paraview.wechat.client","cn.paraview.api.system"})
//@ComponentScan(basePackages={"cn.paraview.api.*"})//扫描接口
//@ComponentScan(basePackages={"cn.paraview.wechat"})
public class WechatApplication {
    public static void main(String[] args){
        SpringApplication.run(WechatApplication.class,args);
    }
}
